package ch.prokopovi.db;

import java.util.HashMap;

public class RatesPlacesTable {

	public enum ColumnRatesPlaces {
		RATES_PLACE_ID, REGION_ID, DESCRIPTION, X, Y, ADDR, WORK_HOURS, PHONE;

		private static HashMap<String, ColumnRatesPlaces> map;

		static {
			map = new HashMap<String, ColumnRatesPlaces>();
			for (ColumnRatesPlaces val : values()) {
				map.put(val.name(), val);
			}
		}

		public static ColumnRatesPlaces get(String name) {
			return map.get(name);
		}
	}

	// Database table
	public static final String TABLE = "T_RATES_PLACES";
}
